<?

session_start();

include_once("../../Misc.php");
include_once("../../classCol/UID.php");
include_once("../../classCol/classOracleDb.php");
require("../../helpers/html.php");
require("../models/fetchers.php");

$COracle = new oracleDb;
$COracle->init($_SESSION["ORCL"],
               $_SESSION["OPASS"],
               $_SESSION["SID"],
               _NO_COMMENT);

$srcDbConvertion = "MST_MODEL_UNIT";

if($COracle->connect()){

  fetchLstConvertion($COracle,
                     $_POST["srcLevelD"],
                     $_POST["srcUnit"],
                     $srcDbConvertion,
                     $lstConvertion);

  initDropDownContent($lstConvertion,
      		            _RET_NULL,
      		            $optLstConvertion);

  echo  $optLstConvertion;

  $COracle->dc();
}else{

  return "****";
}

?>